﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Reactive;
using System.Reactive.Disposables;
using System.Reactive.Linq;
using System.Reactive.Subjects;
using System.Text;
using System.Threading.Tasks;

namespace SimpleReactiveObjects
{
    /// <summary>
    /// Represents a value and an observable sequence.
    /// </summary>
    /// <typeparam name="T">The type of value.</typeparam>
    public interface IReactiveValue<out T> : IObservable<T>, IDisposable
    {
        /// <summary>
        /// Gets the current value.
        /// </summary>
        T Value { get; }
    }
}
